home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / ams__l~1.zoo / include / smallgra.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-05  |  916 b   |  35 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  This file is part of the Atari Machine Specific Library,
  4. //  and is Copyright 1992 by Warwick W. Allison.
  5. //
  6. //  You are free to copy and modify these sources, provided you acknowledge
  7. //  the origin by retaining this notice, and adhere to the conditions
  8. //  described in the file COPYING.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. #ifndef SmallGraphics_h
  12. #define SmallGraphics_h
  13.  
  14. void InitSmallGraphics();
  15.  
  16. void Colour(int C);
  17. inline void Color(int C) { Colour(C); }
  18.  
  19. void Plot(int x, int y);
  20. void Plot(int x, int y, int C);
  21.  
  22. int ColourAt(int x, int y);
  23. inline int ColorAt(int x, int y) { return ColourAt(x,y); }
  24.  
  25. void Line(int x, int y);
  26. void Line(int x1, int y1, int x2, int y2);
  27.  
  28. void Rectangle(int x1, int y1, int x2, int y2);
  29. void Fill(int x, int y);
  30.  
  31. int MaxX();
  32. int MaxY();
  33.  
  34. #endif
  35.